package response

type EvaluationDetail struct {
	Id                    int64   `json:"id" example:"1"`
	Title                 string  `json:"title" example:"第一次测试记录"`
	Height                float64 `json:"height" example:"150"`
	Weight                float64 `json:"weight" example:"50"`
	VitalCapacity         float64 `json:"vital_capacity" example:"1500"`
	FiftyMeters           float64 `json:"fifty_meters" example:"9.5"`
	SitAndReach           float64 `json:"sit_and_reach" example:"15"`
	OneMinuteRopeSkipping float64 `json:"one_minute_rope_skipping" example:"150"`
	OneMinuteSitUp        float64 `json:"one_minute_sit_up" example:"30"`
	Date                  string  `json:"date" example:"2006-01-02"`
}

type EvaluationInfo struct {
	Shape      []EvaluationChartInfo `json:"shape"`
	Function   []EvaluationChartInfo `json:"function"`
	Quality    []EvaluationChartInfo `json:"quality"`
	Evaluation []EvaluationDetail    `json:"evaluation"`
}

type EvaluationChartInfo struct {
	Score float64 `json:"score" example:"60"`
	Date  string  `json:"date" example:"2006-01-02 15:04:05"`
}
